﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Configuration;
namespace JChatSerVices.GetConnect
{
   public class GetFileConnect
    {
       /// <summary>
       /// Get file connect
       /// Code by Linh Pham
       /// </summary>
       /// <param name="file"></param>
       /// <returns></returns>
       public string GetFile(string file)
       {
         string conn = ConfigurationManager.ConnectionStrings[file].ConnectionString;
         return conn;
       }
    }
}
